package cn.edu.scau.cmi.front.dao;

import org.junit.jupiter.api.Test;


import java.util.HashMap;
import java.util.Map;


public class CmiEventDAOImplTest {

	@Test
	public void testCountEventByMap() {
		CmiEventDAOImpl cmiEventDAOImpl= new CmiEventDAOImpl();
		Map<String, String> map = new HashMap<String, String>();
		map.put("mapTimeType", "0");
		map.put("mapStarTime", "2020-10-01");
		map.put("mapEndTime", "2020-10-09");
		map.put("mapFoodtypeId", "0");
		map.put("discoveryprovince", "上海市");
		Integer result = cmiEventDAOImpl.countEventByMap(map );
		System.out.print(result);
	}

}
